﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;


namespace Sistema_de_Taller.Common_Files
{
    public class Definitions
    {
       public struct Client
        {
           public UInt32 Client_ID;
           public String Client_Name;
           public String Client_Social;
           public String Client_State;
           public String Client_Residence;
           public String Client_Email;
           public DateTime Client_DateUp;
           public String Client_Country;
           public String Client_Province;
           public String Client_City;
           public String Client_PostCode;
           public String Client_Phone;
        }

       public struct TelephoneForClient
       {
           public UInt32 Telephone_ID;
           public String Telephone_Type;
           public UInt64 Telephone_Number;
           public UInt32 Telephone_Internal;
       }

       public struct Employee
        {
           public UInt32 Employee_ID;
           public String Employee_Name;
           public String Employee_Residence;
           public String Employee_Phone;
        }

       public struct Remplacement
        {
           public String Replacement_ID;          
           public String Replacement_Name;
           public String Replacement_Brand;
           public UInt32 Replacement_Stock;
           public UInt32 Replacement_Output;
           public String Replacement_Location;
        }

        public struct Vehicle
        {
            public UInt32 Vehicle_ID;
            public UInt32 Client_ID;
            public String Vehicle_Brand;
            public String Vehicle_Patent;
            public String Vehicle_EngineNumber;
            public String Vehicle_Model;
            public UInt32 Vehicle_SerialNumber;
            public DateTime Vehicle_SellDate;
        }

        public struct WorkOrder
        {
            public UInt32 WorkOrder_ID;
            public String WorkOrder_Type;
            public UInt32 WorkOrder_Account;
            public DateTime WorkOrder_Entry;
            public DateTime WorkOrder_Close;
            public String WorkOrder_State;
        }

        public struct WorkDone
        {
            public String WorkDone_Description;
            public UInt32 WorkDone_Hours;
            public UInt32 WorkOrderID;
        }

        public struct ReplacementUsed
        {
            public String Replacement_ID;
            public UInt32 ReplacementUsed_Quantity;
            public UInt32 WorkOrderID;
        }

        public struct AssignedEmployee
        {
            public UInt32 AssignedEmployee_Hours;
            public UInt32 Employee_ID;
            public UInt32 WorkOrderID;
        }


    }
}